Additional changes to processing of Num Lock on Android
authorPo Lu <luangruo@yahoo.com>
Sun, 12 May 2024 07:46:38 +0000 (15:46 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 12 May 2024 07:49:53 +0000 (15:49 +0800)
commitea98a6af2f30eccfed3e152149c6a039bd16ff33
tree816f1b65c38f4546e71d6f8a2074fd3380ba9d08
parentaf6df8e0454f3f51d3855683216dfd12843e6959
Additional changes to processing of Num Lock on Android

* java/org/gnu/emacs/EmacsView.java (onKeyDown, onKeyMultiple)
(onKeyDown): Disregard Num and Scroll Lock keys, and return
value of window functions to the system.

* java/org/gnu/emacs/EmacsWindow.java (eventModifiers): Return
normalized meta state, not only those bits the system considers
modifiers.
(onKeyDown, onKeyUp): Ignore numpad keys to which no base
characters are assigned, so that the system may generate the
proper action keys instead.
java/org/gnu/emacs/EmacsView.java
java/org/gnu/emacs/EmacsWindow.java